package com.njitzx.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVO {
//    "orderId": 42,
//        "memberName": "张三",
//        "orderNumber": "59e411eaaccc9",
//        "orderPrice": 198,
//        "isSend": "是",
//        "logisticsNo": "815294206237577",
//        "status": "1",
//        "createTime": "2023-07-22T15:03:38",
//        "sendTime": "2023-07-28T15:03:38"
    private Integer orderId;
    private String memberName;
    private String orderNumber;
    private Double orderPrice;
    private String isSend;
    private String logisticsNo;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;
}
